// samsting : this file is auto create.

#ifndef ALIYUN_Emr_ListClustersResponse_H_
#define ALIYUN_Emr_ListClustersResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Emr {

class ListClustersResponse : public AcsResponse {
public:
  ListClustersResponse();

  class ClusterInfo {
    friend class ListClustersResponse;
  public:
    int64 GetId(void) const;
    const string& GetName(void) const;
    int  GetPayType(void) const;
    int  GetType(void) const;
    const string& GetCreateTime(void) const;
    const string& GetRunningTime(void) const;
    int  GetStatus(void) const;
    const string& GetFailReason(void) const;
  private:
    int64  Id_;
    string Name_;
    int    PayType_;
    int    Type_;
    string CreateTime_;
    string RunningTime_;
    int    Status_;
    string FailReason_;
  }; // ClusterInfo 

  const std::vector<ClusterInfo>& GetClusters(void) const;
  int  GetTotalCount(void) const;
  int  GetPageNumber(void) const;
  int  GetPageSize(void) const;

private:
  std::vector<ClusterInfo> Clusters_;
  int    TotalCount_;
  int    PageNumber_;
  int    PageSize_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Emr {

#endif // #ifndef ALIYUN_Emr_ListClustersResponse_H_

// end of file 
